package com.mimo.admin.config;

import org.springframework.cloud.openfeign.FeignFormatterRegistrar;
import org.springframework.context.annotation.Configuration;
import org.springframework.format.FormatterRegistry;

@Configuration
public class FeignFormatterRegister implements FeignFormatterRegistrar {

  @Override
  public void registerFormatters(FormatterRegistry registry) {
    registry.addFormatter(new DateFormatter());
  }

}